var elm, elmBg;
function scrLay() {
var pYoff=(document.all&&!window.opera)?document.body.scrollTop:window.pageYOffset;
if(parseInt(elm.style.top)!=pYoff){
  elm.style.top=Math.round(pYoff)+"px"
  elmBg.style.top=Math.round(pYoff)+"px"
  }
}
function initMenu(){
elm=document.getElementById('menu');
elmBg=document.getElementById('menubg');
setInterval('scrLay()',200);
}
